package com.example.security.entity;

import java.util.List;

public class SecurityUser {
	
	private String uid;
	
	private String uname;
	
	private String password;
	
	private String nickname;

	
	private List<UserRole> roleList;


	public String getUid() {
		return uid;
	}


	public void setUid(String uid) {
		this.uid = uid;
	}


	public String getUname() {
		return uname;
	}


	public void setUname(String uname) {
		this.uname = uname;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getNickname() {
		return nickname;
	}


	public void setNickname(String nickname) {
		this.nickname = nickname;
	}


	public List<UserRole> getRoleList() {
		return roleList;
	}


	public void setRoleList(List<UserRole> roleList) {
		this.roleList = roleList;
	}
	
	@Override
	public String toString() {
		return "[user:]+name="+uname+"";
		
	}
	
}
